#include "presets\trade_discounts.ltx"
#include "presets\trade_presets.ltx"

[trader]
buy_condition =  trade_generic_buy
sell_condition = trade_generic_sell
buy_supplies = {=heavy_pockets_functor()} supplies_3, {=actor_goodwill_ge(killer:1000)} supplies_3, {=actor_goodwill_ge(killer:400)} supplies_2,  supplies_1
buy_item_condition_factor = 0.50
buy_item_exponent = 2.25
sell_item_exponent = 0.75

discounts = discount_supplier

[trade_generic_buy]:merchant, artefacts_regular_h, weapon_warsaw_disinterest, weapon_nato_interest

[trade_generic_sell]:merchant, artefacts_regular_h


[supplies_1]:common_stock
;device
detector_radio             = 1, 1
detector_geiger             = 1, 1
device_pda_actor				= 1, 1
itm_sleepbag 				= 1, 1
itm_backpack 				= 2, 1
batteries_dead			= 5, 0.4
device_torch_dummy		= 1, 1
device_torch_nv_1		= 1, 1 
detector_advanced			= 1, 1
swiss_knife	= 1, 1

;medical
medkit					= 3, 1
bandage					= 4, 1
antirad					= 2, 1
drug_radioprotector		= 3, 1
drug_booster			= 3, 0.66
drug_coagulant			= 3, 0.66
drug_psy_blockade		= 3, 0.66
drug_antidot			= 3, 0.66
drug_anabiotic			= 3, 0.66

;food
bread					= 1, 1
conserva				= 3, 1
kolbasa					= 2, 1
vodka					= 2, 1


;weapon
wpn_beretta             = 1, 0.88
wpn_colt1911            = 1, 0.88
wpn_hpsa                = 1, 0.88
wpn_p90                 = 1, 0.88
wpn_knife               = 1, 1
wpn_binoc	            = 1, 1
wpn_lr300               = 1, 0.88
wpn_l85                 = 1, 0.88
wpn_usp                 = 1, 0.88

;addon
acog				= 1, 1
wpn_addon_grenade_launcher_m203		= 1, 1

;outfit
merc_outfit				= 1, 1
merc_light_outfit		= 1, 1
helm_respirator 		= 1, 1
helm_m40				= 1, 1
helm_hardhat			= 1, 1

;ammo
ammo_9x19_fmj                   = 6, 0.88
ammo_11.43x23_fmj               = 6, 0.88
ammo_12x70_buck                 = 4, 0.88
ammo_5.56x45_ss190              = 6, 0.88
grenade_rgd5                    = 2, 0.88
ammo_m209                       = 3, 1
grenade_f1                      = 2, 1

[supplies_2]:supplies_1
;device
device_torch_nv_2		= 1, 1
equ_military_pack       = 1, 0.5
detector_elite			= 1, 1

;weapon
wpn_g36                 = 1, 0.88
wpn_sig550              = 1, 0.88
wpn_desert_eagle        = 1, 0.88
wpn_spas12         		= 1, 0.88

;medical upgrade
medkit_scientic			= 2, 1
medkit					= 8, 1
bandage					= 12, 1
antirad					= 4, 1

;ammo upgrade
ammo_9x19_fmj                   = 9, 0.88
ammo_9x19_pbp                   = 7, 0.88
ammo_11.43x23_fmj               = 9, 0.88
ammo_11.43x23_hydro             = 7, 0.88
ammo_12x70_buck                 = 9, 0.88
ammo_12x76_zhekan               = 5, 0.88
ammo_5.56x45_ss190              = 10, 0.88
ammo_5.56x45_ap                 = 8, 0.88
grenade_rgd5                    = 4, 0.88
ammo_m209                       = 9, 0.88
grenade_f1                      = 5, 0.88

;outfit
merc_scientific_outfit		= 1, 1
helm_tactic			    = 1, 1
helm_protective				= 1, 1
helm_battle					= 1, 1

;addon


[supplies_3]:supplies_2
;device
device_torch_nv_3		= 1, 1
detector_scientific		= 1, 1

;outfit
equ_tourist_pack       = 1, 1
merc_exo_outfit			= 1, 1
helm_exo			   = 1, 1

;addon
acog_green		= 1, 1

;weapon
wpn_svu                 = 1, 0.88

;ammo
ammo_7.62x54_7h1               = 4, 0.66
ammo_gauss						= 5, 0.88

;device
device_torch_nv_3		= 1, 1


;weapon
wpn_fn2000       = 1, 1